package study.saas.order.service;

import study.saas.order.entity.Order;
import study.saas.order.service.model.OrderCriteria;

import java.io.File;
import java.util.List;

public interface OrderService {
    Order createOrder(Order order);

    Order findById(Long orderId);

    List<Order> findOrdersByCriteria(OrderCriteria criteria);

    File exportOrders(OrderCriteria criteria);
}
